package com.example.dubbo.aip.vo.demo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 订单类 Entity
 * ClassName:OrderTbl
 * Description: 用于Seata 分布式 事务 测试
 */
@Table(name = "order_tbl")
@Data
public class OrderTbl implements Serializable {

    @Id
    private Integer id;

    //用户id
    private String userId;

    //商品编号
    private String commodityCode;

    //订购数量
    private Integer count;

    //订单价钱
    private Integer money;
}